package com.example.client;

import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author wangbin
 */
public interface ClientRepository extends JpaRepository<Client, Integer> {
    /**
     * 通过 clientId 查询 client
     *
     * @param clientId clientId
     * @return client
     */
    Client findByClientId(String clientId);
}
